package com.redare.dev.smart.generator.sdk;

import com.redare.dev.smart.generator.sdk.pojo.CodeGenForm;
import com.redare.dev.smart.generator.sdk.pojo.CodeRoot;
import com.redare.devframework.common.pojo.CommonResult;

import java.util.List;

/**
 * @author yangqy on 2021/9/17
 * @date 2021/9/17 下午5:21
 */
public interface CommonSdk {

    CommonResult<Boolean> syncTable();

    CommonResult<List<CodeRoot>> getCodeRoots();


    CommonResult<Boolean> codeGenerate(CodeGenForm.CodeGen form);

    CommonResult<String> codePreview(CodeGenForm.CodePreview form);


}
